package com.example.aicommunityServer.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 记录人员车辆在门禁进出，记录进出时间类别
 * </p>
 *
 * @author author
 * @since 2025-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_access_record")
public class UserAccessRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户车辆进出记录编号
     */
    @TableId(value = "ee_id", type = IdType.AUTO)
    private Integer eeId;

    /**
     * 住户编号
     */
    private Integer ibId;

    /**
     * 门禁编号
     */
    private Integer pId;

    /**
     * 用户车辆进入时间
     */
    private LocalDate enterTime;

    /**
     * 用户车辆出行时间
     */
    private LocalDate accessTime;

    private Integer carId;


}
